/**
 * 保存文章评论
 * @param {*} body
 * @returns
 */
export const useDownloadsSaveCommentApi = (body) => {
    return useHttpPost("/v1/downloads/saveComment",{body})
}

/**
 * 根据文章Id查询对应评论
 * @param {*} body
 * @returns
 */
export const useDownloadsLoadCommentApi = (body) => {
    return useHttpPost("/downloads/pageComment",{body})
}

/**
 * 根据id删除评论
 * @param {*} body
 * @returns
 */
export const useDownloadsDelCommentApi = (body) => {
    return useHttpPost("/v1/downloads/delComment",{body})
}

/**
 * 保存文章回复
 * @param {*} body
 * @returns
 */
export const   useDownloadsSaveCommentReplyApi = (body) => {
    return useHttpPost("/v1/downloads/saveCommentReply",{body})
}

/**
 * 根据文章Id查询对应回复
 * @param {*} body
 * @returns
 */
export const useDownloadsLoadCommentReplyApi = (body) => {
    return useHttpPost("/downloads/pageCommentRepley",{body})
}

/**
 * 根据id删除回复
 * @param {*} body
 * @returns
 */
export const useDownloadsDelCommentReplyApi = (body) => {
    return useHttpPost("/v1/downloads/delCommentReply",{body})
}